package main

import (
	"simple-system/src"

	"github.com/gin-gonic/gin"
)

func main() {
	cfg := src.ReadConfig()
	//Default返回一个默认的路由引擎
	r := gin.Default()
	src.SetRoute(r)
	r.Run(cfg.Port) // listen and serve on 0.0.0.0:8080
}
